const http = uni.$u.http

export const sendRegisterOrLoginCaptcha = (data) => http.get('/sms/sendRegisterOrLoginCaptcha', {params:data})

export const loginByMobile = (data) => http.post('/u/loginByMobile', data)

export const loginByJson = (data) => http.post('/wx-account/loginByJson', data)

export const getInfo = (data) => http.get('/wx-account/getInfo', {params:data})

export const logout = (data) => http.get('/u/logout', {params:data})
